package com.wicket.okrbff.biz.service.dto.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;

/**
 * @desc BffEvalTempDto
 * @使用场景
 */
@Data
public class BffEvalTempDto implements Serializable {

  /**
   * 评价模板ID
   */
  @ApiModelProperty("评价模板ID")
  private String evaluationTemplateId;

  /**
   * 评价模板简称
   */
  @ApiModelProperty("评价模板简称")
  private String evaluationTempShortName;
/**
     * 对应的目标ID 
     */
    @ApiModelProperty("对应的目标ID")
    private String	 targetId;
/**
     * 评价模板名称
     */
    @ApiModelProperty("评价模板名称")
    private String	 evaluationTempName;
/**
     * 评价模板标识 
     */
    @ApiModelProperty("评价模板标识")
    private String	 evaluationTemplateCode;

    /**
     * 规划类型
     */
    @ApiModelProperty("规划类型")
    private String	 planningType;
/**
     * 被评对象目标周期ID
     */
    @ApiModelProperty("被评对象目标周期ID")
    private String	 evaObjTargetCycleId;

    /**
     * 主体生命周期 CURRENTLY_VALID:当前有效 EDITING:正在编辑 ARCHIVING:历史存档
     */
    @ApiModelProperty("主体生命周期")
    private String	 subjectLifeCycle;
/**
     * 周期ID
     */
    @ApiModelProperty("周期ID")
    private String	 cycleId;

    /**
     * 是否父周期 TRUE:是 FALSE:否
     */
    @ApiModelProperty("是否父周期")
    private String	 isParentCycle;

    /**
     * 是否子周期 TRUE:是 FALSE:否
     */
    @ApiModelProperty("是否子周期")
    private String	 isSubCycle;

    /**
     * 是否中期 TRUE:是 FALSE:否
     */
    @ApiModelProperty("是否中期")
    private String	 isMetaphase;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      BffEvalTempDto that = (BffEvalTempDto) o;
      return  evaluationTemplateId == that.evaluationTemplateId&&evaluationTempShortName == that.evaluationTempShortName&&targetId == that.targetId&&evaluationTempName == that.evaluationTempName&&evaluationTemplateCode == that.evaluationTemplateCode&&planningType == that.planningType&&evaObjTargetCycleId == that.evaObjTargetCycleId&&subjectLifeCycle == that.subjectLifeCycle&&cycleId == that.cycleId&&isParentCycle == that.isParentCycle&&isSubCycle == that.isSubCycle&&isMetaphase == that.isMetaphase;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), evaluationTemplateId,evaluationTempShortName,targetId,evaluationTempName,evaluationTemplateCode,planningType,evaObjTargetCycleId,subjectLifeCycle,cycleId,isParentCycle,isSubCycle,isMetaphase);
    }

}
